package org.kl.auditsupervision.entity.fnd;

import java.sql.Date;
import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.kl.bf.entity.AttachmentEntity;

import com.fasterxml.jackson.annotation.JsonFormat;
 
/**
 * 
 * 整改措施
 * @author LJ
 *
 */
@Entity
@Table(name = "SJJC_ZGCS")
public  class ZgCs extends AttachmentEntity{
	private static final long serialVersionUID = 1L;
	private AuditProDtl auditProDtl;//审计
	private String zgcs;//整改措施
	private String zgmb;//整改目标
	private Date zgPlanTime;//整改计划完成时间
	private Date zgActiveTime;//整改实际完成时间
	private String ZgEvidence;//整改证据
	private Timestamp zgSubmitTime;//整改实际提交时间
	private String Status;
	
	public ZgCs() {
	}
	
	public ZgCs(String id) {
		this.id = id;
	}
	
	@ManyToOne
	@JoinColumn(name = "AUDIT_PRO_DTL_ID")
	public AuditProDtl getAuditProDtl() {
		return auditProDtl;
	}

	public void setAuditProDtl(AuditProDtl auditProDtl) {
		this.auditProDtl = auditProDtl;
	}

	public String getZgcs() {
		return zgcs;
	}

	public void setZgcs(String zgcs) {
		this.zgcs = zgcs;
	}

	public String getZgmb() {
		return zgmb;
	}

	public void setZgmb(String zgmb) {
		this.zgmb = zgmb;
	}

	public Date getZgPlanTime() {
		return zgPlanTime;
	}

	public void setZgPlanTime(Date zgPlanTime) {
		this.zgPlanTime = zgPlanTime;
	}

	public Date getZgActiveTime() {
		return zgActiveTime;
	}

	public void setZgActiveTime(Date zgActiveTime) {
		this.zgActiveTime = zgActiveTime;
	}

	public String getZgEvidence() {
		return ZgEvidence;
	}

	public void setZgEvidence(String zgEvidence) {
		ZgEvidence = zgEvidence;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Timestamp getZgSubmitTime() {
		return zgSubmitTime;
	}

	public void setZgSubmitTime(Timestamp zgSubmitTime) {
		this.zgSubmitTime = zgSubmitTime;
	}

	public String getStatus() {
		return Status;
	}

	public void setStatus(String status) {
		Status = status;
	}

	@Override
	public String levelType1() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String levelType2() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String businessCode() {
		// TODO Auto-generated method stub
		return null;
	}

	 
}
